package com.ruoyi.common.constant;

/**
 * @author zhutianyu
 * @date 2021/8/27 16:15
 */
public enum MessageType {

    MESSAGE("消息", "message"),
    NOTIFY_ONLINE("通知上线", "notify_online"),
    NOTIFY_OFFLINE("通知下线", "notify_offline"),

    ;

    private final String name;

    private final String value;

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }

    MessageType(String name, String value) {
        this.name = name;
        this.value = value;
    }
}
